export default function fillMissingNode(area, resp, nodeList) {
	const inIt = {
		ip: '--',
		lossRate: 100,
		area: '',
		totalTime: 0,
		node: '',
		response: '',
	};
	if (resp && resp.detail) {
		const arr = resp.detail.map(item => item.node);
		area.forEach(item1 => {
			if (!arr.includes(item1)) {
				inIt.node = item1;
				inIt.area = nodeList[item1];
				resp.detail.push(inIt);
			}
		});
	}
	return resp;
}
